<log4net threshold="ALL" debug="false">
	<appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender">
		<layout type="log4net.Layout.PatternLayout">
			<conversionPattern value="%-5level %logger [%property{NDC}] - %message%newline" />
		</layout>
	</appender>
	
	<appender name="RollingFile" type="log4net.Appender.RollingFileAppender">
		<file value="log/WindowsFormsSample.log" />
		<appendToFile value="false" />
		<maximumFileSize value="2000KB" />
		<maxSizeRollBackups value="0" />
		
		<layout type="log4net.Layout.PatternLayout">
			<conversionPattern value="%5level [%thread] (%file:%line) - %message%newline" />
		</layout>
	</appender>
	
	<root>
		<level value="Info" />
		<appender-ref ref="RollingFile" />
		<appender-ref ref="ConsoleAppender" />
	</root>
</log4net>
